home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 July
/
EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso
/
earcd
/
misc
/
emu
/
d32.lha
/
d32
/
ReadMe_First
< prev
next >
Wrap
Text File
|
1996-12-27
|
2KB
|
47 lines
The 6809 Emulator
A design and development tool
(C) Steven Goodwin 1994-6
IMPORTANT: This version will only work on the 68000. Any higher processor
will not work because of the 'move cr' instruction inside my code. I hope
to have some time available soon to upgrade this 'feature'. Until then,
get rid of those 68020s!
QUICK START GUIDE: Apparently, some people have been a little mistified
by this package. So, to help those people I've written this - a step-by-
step guide to emulating your first 6809e program! OK?
1. Load up the emulator.
2. From the control panel, choose 'Load', and select the file
'ASA_Examples/ex1.6809'
3. Open the 'Registers' window from the control panel.
4. Change the program counter (the PC text edit control) to 20000 (this
is where the machine code resides).
5. Move the screen down. This allows you to see the text screen (memory
mapped to locations 1024 to 1535). It should be green at the moment.
6. On the 'Registers' window, hit the 'Exec' button. This will execute
the code, from location 20000 in memory, until the final RTS instruction.
You should receive a message from the system telling you the Amiga was
under control of the Emulator for 0 seconds, and the text screen behind
the current one should be black.
For a variation, reset the PC to 20000, and hit 'Step'. This will execute
the next instruction only. In this case, the instruction is 'lda #$20'.
This is the character that will fill the screen. Now change this number
by editting the number in the text requester labelled 'A' to, say, 2.
Now hit 'Exec', and the program will complete, using this new value of 2.
The screen will fill with the inverse letter 'B'.
This program is very simple, and by opening an 'ASM' window from the
control panel, or the 'Registers' window.
The other examples are:
ex2.6809 - PC=20000 - Writes the Dragons' character set.
ex3.6809 - PC=20000 - Writes two lines of text in the middle of the screen.